GTA IV QUICK CAR SPAWNER 0.7.4
"When you need a car, and you need it fast."
by hip63, written with Claude (Anthropic) - an IV-SDK .NET script for GTA IV

Every vehicle the game knows, in one menu, one key away: stock IV, the episodes' vehicles and your add-on cars,
with the game's own names. The list is read from the game itself, so there's no list file to keep up to date -
add a car pack and its cars are simply there.

WHAT YOU NEED
- GTA IV: tested on 1.2.0.59 (The Complete Edition, Steam) and 1.0.8.0 (downgraded). 1.0.7.0 should work too,
  but it hasn't been tested.
- IV-SDK .NET, the build that matches your game version.
- Fusion Fix is not needed, but it's what we tested with (and what the IV Car Pack Builder uses).

INSTALL
Copy the IVSDKDotNet folder from this download into your game's GTAIV folder, so you end up with:
  GTAIV\IVSDKDotNet\scripts\IVCarSpawner.ivsdk.dll
  GTAIV\IVSDKDotNet\scripts\IVCarSpawner\banner.png
The settings file (IVCarSpawner.ivsdk.ini) is written next to the dll the first time the game starts.
To remove it, delete those files (and the ini and log).

KEYBOARD (change any of them in the ini; None switches one off)
  Shift+U        open / close the menu (Backspace on an empty search closes it too)
  In the menu:   Up / Down, PgUp / PgDn (hold to scroll fast), Home / End
                 Left / Right   change the tab: ALL, CARS, BIKES, BOATS, HELICOPTERS, PLANES, ADD-ONS, CHEATS
                 type           search (Backspace deletes a letter, Delete clears the search;
                                Backspace with an empty search closes the menu)
                 Ctrl+S         list order: by name (Banshee, Infernus...) or by maker (Bravado Banshee...)
                 Enter          spawn the vehicle (on the CHEATS tab: switch the row on / off)
  Ctrl+NumPad1   fix your vehicle now
  Ctrl+NumPad2   vehicle god mode on / off
  Ctrl+NumPad3   player god mode on / off
  Ctrl+NumPad4   keep vehicle fixed on / off
  Ctrl+NumPad5   flip your vehicle back onto its wheels
  (All of them are listed on the CHEATS tab too.)

CONTROLLER
  RB + Y         open / close the menu (PadMenu in the ini: any buttons joined with +, e.g. LB+RB+Y, or None)
  In the menu:   left stick or D-pad Up / Down scroll, LB / RB or D-pad Left / Right change the tab, X switches the
                 order, A spawns (or switches a cheat), B closes. Your controls are paused while the menu is open; the
                 D-pad only works in the menu (PadDpad=False in the ini turns that off, if another mod reacts to it).
                 PadStick=False scrolls with the D-pad only. Use the controller and the menu shows button hints.

THE TABS
- ADD-ONS shows only the vehicles that aren't part of GTA IV or the episodes - handy for checking a new car pack.
- CHEATS: Vehicle god mode, Player god mode and Keep vehicle fixed are switches ([ON] / [OFF], remembered between
  sessions). Fix vehicle now and Flip vehicle back onto its wheels act straight away. The flip works on the
  vehicle you're in, or on foot on the last vehicle the menu gave you if it's close by.

GOOD TO KNOW
- You're put straight into the new vehicle (SpawnInside=True).
- Spawning again removes the last vehicle the menu gave you once you're out of it (ReplaceSpawned=True) - never a
  car that belongs to the game or a mission.
- Keep vehicle fixed repairs whatever you're driving as soon as it takes damage. It's a cheat: it will undo the
  damage other mods (like Auto Care) put on your car while it's on.
- The menu closes itself when the pause menu opens. MenuSize in the ini scales it; MenuX / MenuY move it.

WHAT I BUILD BY
- Immersive and fun, never annoying: one key to the list, no submenus, out of the way when it's closed.
- Make mod love, not mod war: it stays off Tab and the D-pad buttons other popular mods use.
- Honest: only what's been tested gets claimed.
- Credit where it's due: nobody's code or files are used.
- No game files shipped: the list, names and vehicles all come from your own copy of the game.
  The banner art is hip63's.
- Your game, your rules: every key can be changed or switched off, controller supported, menu size and list order
  in the ini.

HOW IT WAS BUILT AND TESTED
Rome wasn't built in a day, and neither were these mods.
- One feature at a time: list, search, tabs, spawning, banner and cheats were each built and tried in game before
  the next.
- Logs, not guesses: the script writes a log while it's being developed (Log=True in the ini), and those logs
  were read to track down problems.
- Real machines: a desktop PC and a laptop, GTA IV 1.2.0.59 (Steam) and 1.0.8.0, with Fusion Fix.
- Tested with add-on cars built and installed by the IV Car Pack Builder.
- Logging is off by default: the log only gets its one start-up line unless you switch Log=True on.

FOUND A PROBLEM?
No amount of testing catches everything, and every setup is different. Constructive bug reports are very welcome:
what happened, what you were doing, your game version and other mods, and IVCarSpawner.log (set Log=True in the
ini first). Rants aren't bug reports, and they'll be treated that way.

Built by hip63 with help from Claude (Anthropic): hip63 designed it, directed the work and tested it in game;
Claude helped write the code and read the logs. Everyone who deserves a thank-you is in Credits.txt.

CHANGES
0.7.4 PadStick in the ini (False = scroll with the D-pad only); the menu shows controller button hints when you
     use the pad; the CHEATS tab lists the controller menu buttons too.
0.7.3 The controller opens the menu with RB + Y (was LB + RB + Y, which sat close to mods that use a held LB);
     PadMenu in the ini picks any buttons (e.g. LB+RB+Y, Back+Start) or None.
0.7  CHEATS tab (vehicle / player god mode, keep vehicle fixed, fix now, flip back onto its wheels), the tagline
     under the banner, a shorter footer. ADD-ONS fix: with Fusion Fix, cars added through its update folder
     (like an IV Car Pack Builder pack) were listed as stock cars - they now show under ADD-ONS.
0.6  Renamed GTA IV Quick Car Spawner; banner across the top; the list wraps round at the ends.
